package com.example.dell.newstart.cart;

public class Cart {
  private String name;
  private int imageId;
  private  int number;
  public Cart(String name, int imageId,int number){
      this.name=name;
      this.imageId=imageId;
      this.number = number;
  }
  public String getName(){
      return name;
  }
  public int getImageId(){
      return imageId;
  }
  public int getNumber(){return number;}
  public void addNumber()
  {
      this.number = number++;
  }
    public void delectNumber()
    {
        this.number = number--;
    }
}
